package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.ReceivablesDao;
import com.bootdo.crm.domain.ReceivablesDO;
import com.bootdo.crm.service.ReceivablesService;



@Service
public class ReceivablesServiceImpl implements ReceivablesService {
	@Autowired
	private ReceivablesDao receivablesDao;
	
	@Override
	public ReceivablesDO get(Integer receivablesId){
		return receivablesDao.get(receivablesId);
	}
	
	@Override
	public List<ReceivablesDO> list(Map<String, Object> map){
		return receivablesDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return receivablesDao.count(map);
	}
	
	@Override
	public int save(ReceivablesDO receivables){
		return receivablesDao.save(receivables);
	}
	
	@Override
	public int update(ReceivablesDO receivables){
		return receivablesDao.update(receivables);
	}
	
	@Override
	public int remove(Integer receivablesId){
		return receivablesDao.remove(receivablesId);
	}
	
	@Override
	public int batchRemove(Integer[] receivablesIds){
		return receivablesDao.batchRemove(receivablesIds);
	}
	
}
